//
//  WWPictureInfo.swift
//  SinWEiBo
//
//  Created by 胡良志 on 2018/3/30.
//  Copyright © 2018年 HuLiangZhi. All rights reserved.
//

import UIKit

class WWPictureInfo: NSObject {

    //缩略图的地址
    @objc var thumbnail_pic: String?{
        didSet{
            bimiddleImage = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "bmiddle")
            wap360 = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "wap360")
            original_pic = thumbnail_pic?.replacingOccurrences(of: "thumbnail", with: "original_pic")
            
            imageURL = URL(string: bimiddleImage ?? "")
        }
    }
    //对应不同的图片地址 ,图片清晰度不一样,wap360GIF图片不会动
    @objc var wap360 : String?
    //对应不同的图片地址 ,图片清晰度不一样,bimiddleImageGIF图片会动,比较消耗性能
    @objc var bimiddleImage : String?
    //高清图片地址
    @objc var original_pic : String?
    @objc var imageURL : URL?
    
}
